/**
 * Copyright© 2003-2019 浙江汇信科技有限公司, All Rights Reserved. <br/>
 */
package com.icinfo.cloud.provider.punish.ucase.archive.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.icinfo.framework.mybatis.mapper.annotation.Before;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 描述:  电子卷宗记录表case_electric_archive_record 对应的实体类.<br>
 * WARNING：不是表中字段的属性必须加@Transient注解
 * @author framework generator
 * @date 2022年12月08日
 */
@Data
@Table(name = "upcase.case_electric_archive_record")
public class CaseElectricArchiveRecord implements Serializable {
    /**
     * 主键id
     */
    @Id
    @Column(name = "id")
    @Before
    private String id;

    /**
     * 案件id
     */
    @Column(name = "case_id")
    private String caseId;

    /**
     * 当事人名称
     */
    @Column(name = "party_name")
    private String partyName;

    /**
     * 卷宗号
     */
    @Column(name = "archive_number")
    private String archiveNumber;

    /**
     * 卷宗名称
     */
    @Column(name = "archive_name")
    private String archiveName;

    /**
     * 卷宗目录信息（json）
     */
    @Column(name = "archive_catalog_content")
    private String archiveCatalogContent;

    /**
     * 卷宗地址
     */
    @Column(name = "archive_url")
    private String archiveUrl;

    /**
     * 创建时间
     */
    @Column(name = "create_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime createTime;

    /**
     * 创建人id
     */
    @Column(name = "create_user_id")
    private String createUserId;

    /**
     * 创建人姓名
     */
    @Column(name = "create_user_name")
    private String createUserName;
    /**
     * 是否删除(0-否/1-是)
     */
    @Column(name = "is_delete")
    private String isDelete;
    /**
     * 最新更新时间
     */
    @Column(name = "update_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime updateTime;
    /**
     * 修改人id
     */
    @Column(name = "update_user_id")
    private String updateUserId;
    /**
     * 修改人姓名
     */
    @Column(name = "update_user_name")
    private String updateUserName;

    private static final long serialVersionUID = 1L;


}
